<template>
  <div id="goods-detail">
    <van-nav-bar
      title="待发货"
      left-text="返回"
      right-text="搜索"
      left-arrow
      @click-left="onClickLeft"
      fixed
      safe-area-inset-bottom="fasle"
    />
    <van-notice-bar
      left-icon="volume-o"
      text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准23432421342134231423。"
    />

    <van-steps :active="active" active-icon="success" active-color="#38f">
      <van-step>买家下单</van-step>
      <van-step>商家发货</van-step>
      <van-step>快递送货</van-step>
      <van-step>交易完成</van-step>
    </van-steps>

    <van-steps direction="vertical" :active="0">
      <van-step>
        <h3>【宁波】物流状态1</h3>
        <p>2021-06-22 12:40</p>
      </van-step>
      <van-step>
        <h3>【上海】物流状态2</h3>
        <p>2021-06-21 10:00</p>
      </van-step>
      <van-step>
        <h3>【北京】物流状态3</h3>
        <p>2021-06-21 10:00</p>
      </van-step>
      <van-step>
        <h3>快件已发货</h3>
        <p>2021-06-20 09:30</p>
      </van-step>
    </van-steps>
  </div>
</template>

<script>
import { Toast } from "vant";

export default {
  data() {
    return {
        active: 1,
    };
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped>
.van-nav-bar--fixed {
  height: 46px;
}
